<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2021/10/6
  Time: 13:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>我的小橘</title>
    <link href="${pageContext.request.contextPath}/css/index.css" rel="stylesheet">
    <link href="http://r1nxp2i0y.hn-bkt.clouddn.com/images/ico.png" rel="icon" type="image/x-ico"/>

    <link href="${pageContext.request.contextPath}/css/customer/user_center.css" rel="stylesheet">
</head>
<body>
<jsp:include page="../message.jsp"/>

<%--${serverResponse}--%>
<!--=======================================1. 标题================================================-->
<jsp:include page="../util/top.jsp"/>
<div class="box">

    <!--==========标题下的导航=======================-->
    <div style="position: relative;
    left: -648px;" class="user-top">
        <div class="user-top-main">
            <p>当前位置:</p>
            <a href="">我的小橘</a>
            <p>> 用户信息</p>
        </div>
    </div>
    <!--主要内容-->
    <div class="user-main">
        <!--侧边栏-->
        <div class="col-sub">
            <dl class="sub-nav">
                <dt>我的订单</dt>
                <dd><a href="${pageContext.request.contextPath}/to_my_order">订单管理</a></dd>
                <dt>我的资产</dt>
                <dd><a>账户余额</a></dd>
                <dd><a href="${pageContext.request.contextPath}/myCoupon/${loginCustomer.custId}">我的优惠券</a></dd>
                <dd><a href="${pageContext.request.contextPath}/favorite/${loginCustomer.custId}">我的收藏</a></dd>
                <dt>个人中心</dt>
                <dd><a href="${pageContext.request.contextPath}/user_center/${loginCustomer.custId}">用户信息</a></dd>
                <dd><a>申请注销账户</a></dd>
            </dl>
        </div>
        <!--用户信息-->
        <div class="user-center">
            <form class="registForm1">
                <div class="user-head">
                    <h2>用户信息</h2>
                    <div class="user-person">
                        <div class="user-information">
                            <div class="figure-head">
                                <img src="http://r1nxp2i0y.hn-bkt.clouddn.com/images/customer3.png" width="99" height="99">
                            </div>
                            <div class="user-right">
                                <table width="100%">
                                    <tbody>
                                    <tr>
                                        <td class="cell-title">电子邮箱：</td>
                                        <td>
<%--                                            <input type="email">--%>
                                            <p>${serverResponse.data.custEmail}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">手机号码：</td>
                                        <td>
<%--                                            <input type="tel" max="11">--%>
                                            <p>${serverResponse.data.custTel}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">姓名：</td>
                                        <td>
<%--                                            <input type="text">--%>
                                            <p>${serverResponse.data.custName}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">性别：</td>
                                        <td>
<%--                                            <input type="text">--%>
                                               <p>${serverResponse.data.custGender}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">身份证号：</td>
                                        <td>
<%--                                            <input type="number" max="18">--%>
                                                           <p>${serverResponse.data.custIdCard}</p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">注册时间：</td>
                                        <td>
<%--                                            <input type="date">--%>
<%----%>
                                            <p>
                                                <fmt:formatDate value="${serverResponse.data.custRegisterTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
                                                </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="cell-title">驾驶证类型：</td>
                                        <td>
                                            <p>${serverResponse.data.custDriverType}</p>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--底部-->
    <div class="footer">
        <div class="footer-box clear_float">
            <div class="footer-left">
                <p>
                    <a href="" >关于小橘</a>
                    |
                    <a href="" >移动客户端</a>
                    |
                    <a href="" >帮助中心</a>
                    |
                    <a href="" >建议专区</a>
                    |
                    <a href="" >联系我们</a>
                    |
                    <a href="" >友情链接</a>
                    | &nbsp;投诉通道：400-821-1608 &nbsp;
                </p>
                <p>
                    Copyright © 2007 - 2021 上海小橘信息技术服务有限公司
                    <a href="" >ICP证：沪B2-20140130</a>
                </p>
            </div>
            <div class="footer-right">
                <a href="">
                    <img src="http://r1nxp2i0y.hn-bkt.clouddn.com/images/footer_right_first.png">
                </a>
                <a href="">
                    <img src="http://r1nxp2i0y.hn-bkt.clouddn.com/images/footer_right_second.png">
                </a>
                <a href="">
                    <img src="http://r1nxp2i0y.hn-bkt.clouddn.com/images/footer_right_third.png">
                </a>
                <a href="">
                    <img src="http://r1nxp2i0y.hn-bkt.clouddn.com/images/footer_right_forth.png">
                </a>
            </div>
        </div>
    </div>
</div>
</body>
</html>
